home *** CD-ROM | disk | FTP | other *** search
- Path: susx.ac.uk!mattst
- From: mattst@cogs.susx.ac.uk (Matthew Stanfield)
- Newsgroups: comp.lang.c
- Subject: Re: How do i make graphics in c?
- Date: 21 Feb 1996 21:09:26 GMT
- Organization: University of Sussex
- Distribution: world
- Message-ID: <4gg1m6$4li@infa.central.susx.ac.uk>
- References: <4ftvj1$88b@wpg-01.escape.ca> <14FEB199622413585@erich.triumf.ca>
- NNTP-Posting-Host: tsunx.ctn.cogs.susx.ac.uk
- X-Newsreader: TIN [version 1.2 PL2]
-
- P.Bennett (bennett@erich.triumf.ca) wrote:
- : In article <4ftvj1$88b@wpg-01.escape.ca>, Andrew Carr <acarr@escape.ca> writes...
- : >I was wondering how do i make graphics (like line, staggered line, etc)
- : >in C or C++? I currently use Turbo C++ version 3.0 for all my C and C++
- : >programming. When i try to do graphics it always gives me the same
- : >error "Linking error" and it doesn't compile. I did everything right
- : >and i used all the right syntaxes but i still could not get it to work.
-
- : You probably have to tell the linker to search the graphics library.
- : #including <graphics.h> just tells the compiler what the graphics functions
- : look like - it doesn't tell the linker to find them!
-
- : Under Options/Linker (or somewhere in that vicinity) there should be a tick box
- : to tell the linker to search the graphics library.
-
- Also check that the directory is pointing to the right directory. Mine wasn't
- and it confused me for a while.
-
- Matt
-